
export const TYPE_LIST = 'LIST'
export const TYPE_PREVIEW = 'PREVIEW'
export const TYPE_ADD = 'ADD'
export const TYPE_EDIT = 'EDIT'
export const TYPE_DEL = 'DEL'

export const REQ_METHOD = {
  [TYPE_ADD]: 'post',
  [TYPE_EDIT]: 'put',
  [TYPE_DEL]: 'delete',
}

export const _keys = {
  dataKey: 'result',
  totalKey: 'total',
  pageKey: 'pageNo',
  sizeKey: 'pageSize'
}